/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.clbs.ex.springgwt.client.service;

import com.clbs.ex.springgwt.client.model.Issue;
import com.google.gwt.user.client.rpc.AsyncCallback;
import java.util.List;

/**
 *
 * @author peerawat.poombua
 */
public interface IssueTrackerServiceAsync {

    public void createIssue(Issue issue, AsyncCallback<Void> callback);
    public void getIssue(int issueID, AsyncCallback<Issue> callback);
    public void deleteIssue(int issueID, AsyncCallback<Boolean> callback);
    public void getAllIssues(AsyncCallback<List<Issue>> callback);
}
